using System;
using System.Collections.Generic;
using System.Text;
using Pixysoft.Framework.Noebe.Orm;

namespace Pixysoft.Framework.Security.Entity
{
    public interface PageGroup
    {
        [OrmPrimaryKey]
        string GroupName { get;set;}
        string Description { get;set;}
        int LayerIndex { get;set;}
        bool IsInnerGroup { get;set;}
        PageGroup Parent { get;set;}
        List<PageGroup> Children { get;set;}
        List<PageRole> PageRoleList { get;set;}

        void AddToPageRoleList(params PageRole[] values);
        void RemoveFromPageRoleList(params PageRole[] values);
        PageRole SelectPageRoleList(object upk);
    }
}
